'use strict';
/**
 * @author chenmin
 * @class  右侧面板组件===>话术设置===>添加面板
 */

var React = require('react');

var wordsPanelInput = React.createClass({
      getInitialState:function(){
            return {};
      },
      handlerTab:function(){
            this.props.handlerTab();
      },
      render: function() {
            return (
                  /* jshint ignore:start */
                        <div className="do-panel-msg">
                              <div className="do-panel-msg-body">
                                    <form action="" className="do-form">
                                          <textarea  rows="5" width="100%" placeholder="请输入..."></textarea>
                                    </form>
                              </div>
                              <div className="do-panel-msg-footer">
                                    <input type="button" className="do-btn do-btn-info do-btn-md do-msg-send " value="取消" onClick={this.handlerTab} />
                                    <input type="button" className="do-btn do-btn-success do-btn-md  do-msg-send do-m-r15" value="添加" onClick={this.handlerTab} />
                              </div>
                        </div>
                   /* jshint ignore:end */
            );
   }
});

module.exports = wordsPanelInput;